package com.ctshk.rpc.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 *  常用旅客listDTO
 * </p>
 *
 * @author 李新科
 * @date 2021/5/17 11:35
 */
@Data
@ApiModel
public class PassengerListDTO implements Serializable {

    private static final long serialVersionUID = -226522745904268428L;

    @ApiModelProperty(name = "id", value = "id")
    private Long id;

    @ApiModelProperty(value="英文姓")
    private String enSurname;

    @ApiModelProperty(value="英文名")
    private String enName;

    @ApiModelProperty(value="称谓")
    private Integer appellation;

    @ApiModelProperty(value="联络电话区号")
    private String contactMobileAreaCode;

    @ApiModelProperty(value="联络电话")
    private String contactNumber;

    @ApiModelProperty(value="电邮")
    private String email;

    @ApiModelProperty(value="证件类型名称")
    private String certificatesTypeName;

    @ApiModelProperty(value="首个证件类型名称")
    private String firstCertificatesTypeName;

    @ApiModelProperty(value="证件号码")
    private String certificatesNumber;

    @ApiModelProperty(value="是否默认,0否1是")
    private Integer isDefault;

    @ApiModelProperty(value="出生日期")
    private LocalDate birthday;
}
